Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFrame


GetViewType

The GetViewType method returns this frame's view type.

ODTypeToken GetViewType ();
return value
A tokenized string representing this frame's view type.
DISCUSSION
The return value must be the tokenized form of one of the view-type constants (kODViewAsFrame, kODViewAsSmallIcon, kODViewAsLargeIcon, or kODViewAsThumbnail). You can call the session object's Tokenize method to obtain a token corresponding to one of these constants.

SEE ALSO
The ODTypeToken type (page 877).
The ODFrame::ChangeViewType method (page 313).
The ODFrame::SetViewType method (page 339).
The ODSession::Tokenize method (page 622).
Listing 2-9 on page 54 in OpenDoc Cookbook.
Listing 2-15 on page 64 in OpenDoc Cookbook.
Listing 2-19 on page 71 in OpenDoc Cookbook.
"View Type" on page 155 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help